package com.cz.nongyetongv5.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * Created by zhangliang on 2017/6/10.
 */

public class EntPic implements Serializable,MultiItemEntity {


    public static final int IMG_1 = 1;

    public static final int IMG_2 = 2;

    private int itemType;



    private Long longId;
    /**
     * url:照片地址
     * create_longitude:经度
     * create_latitude：纬度
     * photo_comment:备注
     */

    private String create_time;
    private String path;
    private Double photo_latitude;//纬度
    private Double photo_longitude;//经度

    private Double create_longitude;
    private Double create_latitude;


    private String photo_comment;//备注
    //    private Bitmap bitmap;
    private String addr;
    private String url;
    private int flag;
    private String id;
    private long entId;



    @Override
    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public static int getImg1() {
        return IMG_1;
    }

    public static int getImg2() {
        return IMG_2;
    }

    public Long getLongId() {
        return longId;
    }

    public void setLongId(Long longId) {
        this.longId = longId;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Double getPhoto_latitude() {
        return photo_latitude;
    }

    public void setPhoto_latitude(Double photo_latitude) {
        this.photo_latitude = photo_latitude;
    }

    public Double getPhoto_longitude() {
        return photo_longitude;
    }

    public void setPhoto_longitude(Double photo_longitude) {
        this.photo_longitude = photo_longitude;
    }

    public Double getCreate_longitude() {
        return create_longitude;
    }

    public void setCreate_longitude(Double create_longitude) {
        this.create_longitude = create_longitude;
    }

    public Double getCreate_latitude() {
        return create_latitude;
    }

    public void setCreate_latitude(Double create_latitude) {
        this.create_latitude = create_latitude;
    }

    public String getPhoto_comment() {
        return photo_comment;
    }

    public void setPhoto_comment(String photo_comment) {
        this.photo_comment = photo_comment;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getEntId() {
        return entId;
    }

    public void setEntId(long entId) {
        this.entId = entId;
    }

    public EntPic(int itemType, Long longId, String path) {
        this.itemType = itemType;
        this.longId = longId;
        this.path = path;
    }
}
